﻿namespace Longbow.Cache
{
    /// <summary>
    /// CacheItem 配置类
    /// </summary>
    internal class CacheItem : ICacheItem
    {
        /// <summary>
        /// 获得/设置 缓存键值
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 获得/设置 缓存值
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 获得/设置 缓存时长
        /// </summary>
        public int Interval { get; set; }

        /// <summary>
        /// 获得/设置 缓存描述
        /// </summary>
        public string Desc { get; set; }

        /// <summary>
        /// 获得/设置 缓存已用时长
        /// </summary>
        public int ElapsedSeconds { get; set; }
    }
}
